<gm:page title="eventHandlingDemo" >
  <table>
    <tr>
      <td width="50%">
        <gm:list id="myList" data="http://mapnut.com/calstatepark.xml"/>
      </td>
      <td width="50%" valign="top">
        <gm:map id="myMap" data="${myList}" latref="geo:lat" lngref="geo:long" maptypes="true">
          <gm:handleEvent src="myList" event="select" execute="alert('Hello');"/>
        </gm:map>
      </td>
    </tr>
  </table>
</gm:page>